<!-- module -->
<script setup lang="ts">
interface IProps {
  modelValue: boolean
}
const props = withDefaults(defineProps<IProps>(), {
  modelValue: false,
})
const emits = defineEmits<{
  (event: 'update:modelValue', val: boolean): void
}>()
const value = computed({
  get() {
    return props.modelValue
  },
  set(val: boolean) {
    return emits('update:modelValue', val)
  },
})
</script>

<template>
  <div>
    <slot />
  </div>
</template>

<style lang="scss" scoped></style>
